setGradientColorStops

abstract fun setGradientColorStops(block: DesignBlock, property: String, colorStops: List<GradientColorStop>)

Set a gradient color stops property of the given design block.

Parameters

block

the block whose property should be set.

property

the name of the property to set.

colorStops

the list of color stops.